package com.xiaoxian.user.mapper;

import com.xiaoxian.user.domain.LoginInfo;
import com.xiaoxian.user.domain.User;
import com.xiaoxian.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaoxian
 * @since 2022-12-21
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 通过电话查询
     * @param phone
     */
    User findByPhone(String phone);


    LoginInfo findLogininfoByuserId(Long userId);


    User findByLogininfoId(Long id);
}
